<template>
  <div id="app">
    <div v-if="$route.name!=='登录'">
 <van-tabbar route>
  <van-tabbar-item icon="home-o" to="/home">首页</van-tabbar-item>
  <van-tabbar-item icon="friends-o" to="/people">人员考勤</van-tabbar-item>
  <van-tabbar-item icon="cart-o" to="/baojing">报警记录</van-tabbar-item>
  <van-tabbar-item icon="user-circle-o" to="/user">个人中心</van-tabbar-item>
</van-tabbar>
</div>
    <router-view/>
  </div>
</template>

<script>
export default {
  name: 'App'
}
</script>

<style>
#app {
  /* font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;  */
}
</style>
